package com.wish.building.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 楼盘信息表
 * </p>
 *
 * @author 刘郑欣
 * @since 2022-03-27
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_premises_info")
@ApiModel(value = "PremisesInfo对象", description = "楼盘信息表")
public class PremisesInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String outsideId;

    @ApiModelProperty("楼盘名称")
    private String name;

    @ApiModelProperty("省")
    private Integer province;

    @ApiModelProperty("市")
    private Integer city;

    @ApiModelProperty("区")
    private Integer county;

    @ApiModelProperty("商圈")
    private String commercialArea;

    private String subway;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("建筑面积")
    private Double proportion;

    @ApiModelProperty("容积率")
    private Double grossPlotRatio;

    @ApiModelProperty("绿化率")
    private Double greenCoverage;

    @ApiModelProperty("楼栋数")
    private Integer buildingCount;

    @ApiModelProperty("得房率")
    private Double efficiency;

    @ApiModelProperty("开发商")
    private String developer;

    @ApiModelProperty("物业管理公司")
    private String estate;

    @ApiModelProperty("楼盘简介")
    private String introduce;

    @ApiModelProperty("社区类型")
    private String communityType;

    @ApiModelProperty("建筑类型")
    private String buildingType;

    @ApiModelProperty("物业类型")
    private String premisesType;

    private LocalDateTime updateTime;

    @ApiModelProperty("经度")
    private String longItude;

    @ApiModelProperty("纬度")
    private String latItude;

    // 周边配套
    @TableField(exist = false)
    private List<PremisesFacility> peripheralFacilities;
    // 交通情况
    @TableField(exist = false)
    private List<PremisesFacility> trafficCondition;
    //楼盘相册
    @TableField(exist = false)
    private List<Album> albumList;

    @TableField(exist = false)
    private List<String> configProperty;

    // 楼盘特色
    @TableField(exist = false)
    private String propertyFeatures;

    //楼盘特色
    @TableField(exist = false)
    private Integer[] propertyFeaturesList;

    //地铁
    @TableField(exist = false)
    private Integer[] subwayList1;
    //建筑类型
    @TableField(exist = false)
    private Integer[] buildingList;
    /*商圈*/
    @TableField(exist = false)
    private Integer[] commercialAreaList;
    /*物业类型*/
    @TableField(exist = false)
    private Integer[] communityList;


    //户型图
    @TableField(exist = false)
    private  List<Albumm> hxtList;

    //外景图
    @TableField(exist = false)
    private  List<Albumm> wjtList;

    //施工图
    @TableField(exist = false)
    private  List<Albumm> sgtList;

    //效果图
    @TableField(exist = false)
    private  List<Albumm> xgtList;

    //主页图
    @TableField(exist = false)
    private  List<Albumm> sytList;








}
